package com.bw.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.bw.entity.ZkOrder;
import com.bw.entity.res.ResOrder;
import com.bw.mapper.ZkOrderMapper;
import com.bw.service.IZkOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 莫晓晨
 * @since 2020-05-29
 */
@Service
public class ZkOrderServiceImpl extends ServiceImpl<ZkOrderMapper, ZkOrder> implements IZkOrderService {

    @Autowired
    private ZkOrderMapper orderMapper;

    @Override
    public List<ResOrder> resList(QueryWrapper queryWrapper) {
        return orderMapper.resList();
    }
}
